# @Author   :   hany
# @Time      :  2021/4/23
from basic.UIParent import UIParent
from basic.utils.asserts import asserts
from commen.page.ann.myPage import myPage
from commen.page.ann.personalCreditPage import personalCreditPage


class PersonalCreditCase(UIParent):

    @classmethod
    def test_01CreditIndex(self):
        '''个人信用首页校验'''

        myPage.loginByStatu()
        personalCreditPage.clickPersonalCredit()
        getText = personalCreditPage.getPersonalCredit()
        asserts.true(getText, "个人信用首页校验")
